package com.izobnehc.rabbit.rabbitgenerator.service;

import com.izobnehc.rabbit.rabbitgenerator.domain.GeneTable;
import com.izobnehc.rabbit.rabbitgenerator.dto.GenerateParamDTO;
import com.izobnehc.rabbit.rabbitgenerator.vo.CodeGenerateVO;
import freemarker.template.TemplateException;

import java.io.IOException;

public interface CodeGenerateService {

    CodeGenerateVO generate(GenerateParamDTO generateParamDTO) throws IOException, TemplateException;

    String getCreateSql(String tableName);

    GeneTable getGeneTable(String createSql);
}
